home *** CD-ROM | disk | FTP | other *** search
/ Pascal Super Library / Pascal Super Library (CW International)(1997).bin / SHELLS / SZ2 / ADEMO4.DEF < prev    next >
Text File  |  1992-08-31  |  863b  |  28 lines

  1. .TUTORIAL - The [ EXTERNAL ] keyword; re-use ADEMO3 w/[ APPLICATION ]
  2.  
  3. How to "reserve" an event name with a keyword.
  4.  
  5. This is identical to the prior example, except that we list the event
  6. name under the [ EXTERNAL ] keyword.
  7.  
  8. NOTES
  9. -----
  10. There's no sense in copying the *.INC and *.VIR files from the prior
  11. example; we can re-use custom components (*.INC, *.VIR and *.EVT
  12. files) with the [ APPLICATION ] keyword.
  13.  
  14. @PA - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  15.  
  16.  
  17. [ APPLICATION ] ademo3  ;;this is a default hint      @@ change name set
  18.  
  19. [ UNIT ]
  20. General /r                                            @@ Use & register
  21.  
  22. [ EXTERNAL ]
  23. open
  24.  
  25. [ SUBMENU ] File        ;;file management
  26. Open                    ;;open a file                 @@ *.INC file
  27. Save                    ;;save current window         @@ EDITORS internal
  28.